/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.entity;

import com.jeeplus.modules.infor.entity.Project;
import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 上游客户Entity
 * @author 李超辉
 * @version 2017-11-22
 */
public class UpCustomers extends DataEntity<UpCustomers> {
	
	private static final long serialVersionUID = 1L;
	private Project project;		// 项目
	private String name;		// 货主全称
	private String abbreviation;		// 简称
	private String registerAddress;		// 注册地址
	private String legalPerson;		// 法人代表
	private String bankName;		// 开户银行
	private String bankAccount;		// 银行账号
	private String invoiceHead;		// 发票抬头
	private String duty;		// 税号
	private String address;		// 地址
	private String zipCode;		// 邮编
	private String person;		// 联系人
	private String position;		// 职位
	private String mailbox;		// 邮箱
	private String phone;		// 电话
	private List<TakeAddress> takeAddressList = Lists.newArrayList();		// 子表列表
	
	public UpCustomers() {
		super();
	}

	public UpCustomers(String id){
		super(id);
	}

	@ExcelField(title="项目", fieldType=Project.class, value="", align=2, sort=1)
	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}
	
	@ExcelField(title="货主全称", align=2, sort=2)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="简称", align=2, sort=3)
	public String getAbbreviation() {
		return abbreviation;
	}

	public void setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
	}
	
	@ExcelField(title="注册地址", align=2, sort=4)
	public String getRegisterAddress() {
		return registerAddress;
	}

	public void setRegisterAddress(String registerAddress) {
		this.registerAddress = registerAddress;
	}
	
	@ExcelField(title="法人代表", align=2, sort=5)
	public String getLegalPerson() {
		return legalPerson;
	}

	public void setLegalPerson(String legalPerson) {
		this.legalPerson = legalPerson;
	}
	
	@ExcelField(title="开户银行", align=2, sort=6)
	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	
	@ExcelField(title="银行账号", align=2, sort=7)
	public String getBankAccount() {
		return bankAccount;
	}

	public void setBankAccount(String bankAccount) {
		this.bankAccount = bankAccount;
	}
	
	@ExcelField(title="发票抬头", align=2, sort=8)
	public String getInvoiceHead() {
		return invoiceHead;
	}

	public void setInvoiceHead(String invoiceHead) {
		this.invoiceHead = invoiceHead;
	}
	
	@ExcelField(title="税号", align=2, sort=9)
	public String getDuty() {
		return duty;
	}

	public void setDuty(String duty) {
		this.duty = duty;
	}
	
	@ExcelField(title="地址", align=2, sort=10)
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	@ExcelField(title="邮编", align=2, sort=11)
	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}
	
	@ExcelField(title="联系人", align=2, sort=12)
	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}
	
	@ExcelField(title="职位", align=2, sort=13)
	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}
	
	@ExcelField(title="邮箱", align=2, sort=14)
	public String getMailbox() {
		return mailbox;
	}

	public void setMailbox(String mailbox) {
		this.mailbox = mailbox;
	}
	
	@ExcelField(title="电话", align=2, sort=15)
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	public List<TakeAddress> getTakeAddressList() {
		return takeAddressList;
	}

	public void setTakeAddressList(List<TakeAddress> takeAddressList) {
		this.takeAddressList = takeAddressList;
	}
}